home *** CD-ROM | disk | FTP | other *** search
/ Geek Games #12 / GEGA012.iso / Jogos de Azar / 3card_poker.swf / scripts / DefineButton2_77 / BUTTONCONDACTION on(press).as next >
Text File  |  2006-01-17  |  339b  |  10 lines

  1. on(press){
  2.    if(eval("../:tOff") == "0" and eval("../:betMover") == "1")
  3.    {
  4.       if(eval("_level0/:Credits") >= "10" and (eval("_level0/:Credits") - "10" >= eval("_level0/:creditsPlayedan") + "10" or eval("_level0/:creditsPlayedan") == "0"))
  5.       {
  6.          startDrag("_level0/dr" add eval("_level0/:m"),"0");
  7.       }
  8.    }
  9. }
  10.